package com.alex.dao;

import com.alex.pojo.Account;
import org.apache.ibatis.annotations.*;

@Mapper
public interface AccountMapper {

    @Select("select * from account where id=#{id}")
    Account getAccount(@Param("id") int id);

    @Update("update account set account=#{m} where id=#{id}")
    int updateAccount(@Param("id") int id, @Param("m") int m);
}
